package com.example.yuntiku.dao;

import com.example.yuntiku.entity.User;

import java.util.List;

public interface UserDao {
    public void registerUser(User user);

    // 通过邮箱获取用户
    public User getUserByEmail(String email);

    // 验证邮箱验证码
    public boolean verifyEmailCode(String email, String code);
    public List<User> selectByClassId(String[] classIds);
}
